/**
 * 
 */
package org.x.starter4j.mina.http.server;

import org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory;

/**
 * @author huangyang@p-an.com 2013年11月3日
 */
public class HttpServerProtocolCodecFactory extends DemuxingProtocolCodecFactory
{
	public HttpServerProtocolCodecFactory()
	{
		super.addMessageDecoder(HttpRequestDecoder.class);
		super.addMessageEncoder(HttpResponseMessage.class, HttpResponseEncoder.class);
	}
}
